<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>Servier管理员登录</title>
</head>
<body>
<center>
    <form id="login" name="login" method="POST" action="<c:url value='/admin/loginAction.do'/>">
        <table class="add">
            <tr>
                <th colspan="2" style="text-align: center;">Servier管理界面登录</th>
            </tr>
            <tr>
                <th>用户名:</th>
                <td>
                    <input type=text id="user" name="user" /><span style="color: red">${errors.user}</span>
                </td>
            </tr>
            <tr>
                <th>密码:</th>
                <td>
                    <input type=password id="password" name="password" /><span style="color: red">${errors.password}</span>
                </td>
            </tr>
            <tr>
                <td style="border-right-style: none;">&nbsp;</td>
                <td style="border-left-style: none;"><input type="submit" id="submitBtn" value="Login"/></td>
            </tr>
        </table>
    </form>
</center>


</body>
</html>